#if !defined(AFX_ZHILIANGDLG_H__182FF3AC_7412_4261_97A5_1B7DBDC382B6__INCLUDED_)
#define AFX_ZHILIANGDLG_H__182FF3AC_7412_4261_97A5_1B7DBDC382B6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ZHILIANGDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CZHILIANGDlg dialog

class CZHILIANGDlg : public CDialog
{
// Construction
public:
	CString m_jingdu;
	void AllDataChange(CString str,CString sign);
	CZHILIANGDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CZHILIANGDlg)
	enum { IDD = IDD_DIALOG_ZHILIANG };
	CComboBox	m_combo1;
	CString	m_cwt;
	CString	m_dr;
	CString	m_g;
	CString	m_gr;
	CString	m_kg;
	CString	m_lb;
	CString	m_oz;
	CString	m_mg;
	CString	m_shcwt;
	CString	m_shidan;
	CString	m_shijin;
	CString	m_shton;
	CString	m_t;
	CString	m_ton;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CZHILIANGDlg)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	int m_decimalnum;
	// Generated message map functions
	//{{AFX_MSG(CZHILIANGDlg)
	afx_msg void OnChangeEditT();
	afx_msg void OnChangeEditKg();
	afx_msg void OnChangeEditG();
	afx_msg void OnChangeEditMg();
	afx_msg void OnChangeEditShidan();
	afx_msg void OnChangeEditShijin();
	afx_msg void OnChangeEditLb();
	afx_msg void OnChangeEditOz();
	afx_msg void OnChangeEditTon();
	afx_msg void OnChangeEditShton();
	afx_msg void OnChangeEditCwt();
	afx_msg void OnChangeEditShcwt();
	afx_msg void OnChangeEditGr();
	afx_msg void OnChangeEditDr();
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeCombo1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ZHILIANGDLG_H__182FF3AC_7412_4261_97A5_1B7DBDC382B6__INCLUDED_)
